home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 23.zip
/
BS1 part 23
/
Hisoft Basic v1.03 disk 2.adf
/
Data
/
writeaddr.bas
< prev
next >
Wrap
BASIC Source File
|
1988-12-02
|
384b
|
22 lines
OPEN "AddressFile" FOR APPEND AS 1
Entry:
PRINT
INPUT "Name";Nam$
INPUT "Address";Address$
INPUT "City";City$
INPUT "Phone";Phone$
PRINT#1,Nam$
PRINT#1,Address$
PRINT#1,City$
PRINT#1,Phone$
x=x+1
PRINT "Record"x" ("Nam$") stored."
PRINT "Add more records?"
INPUT "Y/N:";Ans$
IF UCASE$(Ans$)="Y" THEN Entry
CLOSE
PRINT "File closed. Program ended."